#ifndef __WIN32EGLSupport_H__
#define __WIN32EGLSupport_H__


#include "U2EGLSupport.h"


U2EG_NAMESPACE_BEGIN


class _U2GLESShare U2Win32EGLSupport : public U2EGLSupport
{
protected:

	//Removed createEGLWindow because it was easier to just call
	//new Win32EGLWindow in the code to get the native version
	//virtual EGLWindow* createEGLWindow( U2EGLSupport * support);

public:
    U2Win32EGLSupport();
    virtual ~U2Win32EGLSupport();

	virtual void switchMode(u2uint& width, u2uint& height, short& frequency);

    U2RenderWindow* newWindow(const U2String& name,
                            unsigned int width, unsigned int height,
                            bool fullScreen,
                            const NameValuePairList *miscParams = 0);

	//Moved getNativeDisplay to native class
	NativeDisplayType getNativeDisplay();

	//This sets up the native variables then calls U2EGLSupport::getGLDisplay
	EGLDisplay getGLDisplay();

};


U2EG_NAMESPACE_END


#endif
